package com.test.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.test.bean.Dept;

/**
 * 查询部门的SQL
 * 
 * @author huyong
 *
 */
public interface DeptDao {
	@Select("select * from DEPT")
	public List<Dept> getAllDept();

	public Dept getDeptById(Integer id);

	public Dept getDeptByIdPlus(Integer id);

	public Dept getDeptByIdStep(Integer id);

	public Dept getDeptByIdStepMParam(Integer id);

}
